package com.itany.corejava.day17;

public class Test {

    public static void main(String[] args) {

        Store s=new Store(4);

        Thread p1=new Producer("p1",s);
        Thread p2=new Producer("p2",s);
        Thread p3=new Producer("p3",s);


        Thread c1=new Consumer("c1",s);
        Thread c2=new Consumer("c2",s);
        Thread c3=new Consumer("c3",s);


        p1.start();
        p2.start();
        p3.start();
        c1.start();
        // c2.start();
        // c3.start();
    }


}
